<?php
session_start();

header('Content-Type: text/plain; charset=utf-8'); 

require("../../fantasmatakia/pektis.php");
require("../../lib/standard.php");

$globals->check_pektis();
$partida = Globals::parametros("partida");
$sxolio = Globals::parametros("sxolio");

$query = "INSERT INTO `sizitisi` (`pektis`, `partida`, `kimeno`) VALUES ('" .
	$globals->asfales($globals->pektis->login) . "', " .
	$globals->asfales($partida) . ", '" .
	$globals->asfales($sxolio) . "')";
@mysqli_query($globals->db, $query);
if (mysqli_affected_rows($globals->db) == 1) { die(0); }

print "NOK";
	
?>
